let app = Shell.AppSystem.get_default().lookup_app(appId);
- let msg = _("%s has been added to your favorites.").format(app.get_name());
+ let msg = _('%s has been pinned to the dash.').format(app.get_name());
Main.overview.setMessage(msg, {
forFeedback: true,
undoCallback: () => this._removeFavorite(appId),
if (!this._removeFavorite(appId))
return;
- let msg = _("%s has been removed from your favorites.").format(app.get_name());
+ let msg = _('%s has been unpinned from the dash.').format(app.get_name());
Main.overview.setMessage(msg, {
forFeedback: true,
undoCallback: () => this._addFavorite(appId, pos),
const { id } = this._app;
this._toggleFavoriteItem.label.text = this._appFavorites.isFavorite(id)
- ? _('Remove from Favorites')
- : _('Add to Favorites');
+ ? _('Unpin')
+ : _('Pin to Dash');
}
_updateGpuItem() {
this._iconActor.set_hover(canRemove);
if (canRemove)
- this.setLabelText(_("Remove from Favorites"));
+ this.setLabelText(_('Unpin'));
else
this.setLabelText(_("Show Applications"));
}